class X {
    fun foo() = "with companion"

    companion object {
        val bar = "this is a companion"
    }
}

